package com.ssy.lingxi.member.merchant.api.model.vo.inner.request;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Positive;
import java.io.Serializable;

/**
 *  取消（积分抵扣订单金额的）订单-返还积分VO
 * @author ds
 * @date 2022/3/1
 * @version 2.0.0
 */
public class MemberFeignRightReturnVO implements Serializable {

    private static final long serialVersionUID = 3188809416064964080L;
    /**
     * 买方会员Id
     */
    @NotNull(message = "买方的会员角色Id要大于0")
    @Positive(message = "买方的会员角色Id要大于0")
    private Long subMemberId;

    /**
     * 买方会员角色Id
     */
    @NotNull(message = "买方的会员角色Id要大于0")
    @Positive(message = "买方的会员角色Id要大于0")
    private Long subRoleId;

    /**
     * 取消订单-订单编号（注意不是数据库的Id字段）
     */
    @NotBlank(message = "订单号不能为空")
    private String orderNo;

    public Long getSubMemberId() {
        return subMemberId;
    }

    public void setSubMemberId(Long subMemberId) {
        this.subMemberId = subMemberId;
    }

    public Long getSubRoleId() {
        return subRoleId;
    }

    public void setSubRoleId(Long subRoleId) {
        this.subRoleId = subRoleId;
    }

    public String getOrderNo() {
        return orderNo;
    }

    public void setOrderNo(String orderNo) {
        this.orderNo = orderNo;
    }
}
